const DbService = require('./db2');
const { TABLE_NAME } = require('../models');
const BaseService = require('./base');

class OrganizationService extends BaseService {
  constructor() {
    super();
    this.dbService = new DbService(TABLE_NAME.organization);
  }

  async list(where) {
    return this.dbService.selectAll(where);
  }
}

module.exports = OrganizationService;
